//index.js
//获取应用实例
const app = getApp()
const IndexModel=require('../../modules/indexModel')
Page({
  data: {
    musics:[],
  },
  async onLoad(){
    var res=await IndexModel.getCatJapan();
    console.log(res)
    var musics=res.data.playlists;
    this.setData({
      musics,
    })
  }
})
